<script setup>
defineProps({
  info: {
    type: Object,
    default(rawProps) {
      console.log(rawProps)
      return {message: "hello"}
    },
    validator(value, rawProps) {
      console.log(value, rawProps)
      // return !value.hasOwnProperty('age')
      return true
    }
  }
})
</script>

<template>
{{info.message}}
</template>

<style scoped>

</style>